package org.example.service;

import org.example.dto.BuildingDto;
import org.example.vo.BuildingVo;

import java.util.List;

public interface BuildingService {
    Integer addBuilding(BuildingVo building);
    Integer updateBuilding(BuildingVo building);
    Integer deleteBuilding(Integer buildingId);
    List<BuildingDto> queryAllBuilding();
    Integer countBuilding();
    BuildingDto queryBuildingByName(String buildingName);
    BuildingDto queryBuildingById(Integer buildingId);
}
